package progress.exa27_4;

import java.util.WeakHashMap;

public class WeakHashMapStudy {
    public static void main(String[] args) throws InterruptedException {
        WeakHashMap<Integer,Integer> map = new WeakHashMap<>();
        for(int i=0;i<1000;i++){
            map.put(i,i);
        }
        System.out.println(map.size());
    }
}
